package cn.yunhe.model;


/**
 * 控制层接口返回模型类
 * @author Administrator
 *
 * @param <T>
 */
public class ResultModel<T> {
	private String code="0"; //错误编码
    private String msg;	//错误提示
    private T data;	//返回数据

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
